Don't return PropertyNotify.state as modifier state
authorMatthias Clasen <mclasen@redhat.com>
Wed, 22 Dec 2010 19:33:09 +0000 (14:33 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 22 Dec 2010 19:33:09 +0000 (14:33 -0500)
It isn't, it really is a GdkPropertyState.

Reported by Tim Janik in bug 633795.

gdk/gdkevents.c

index e9995e94920bd41b4a1924571973dad993c96cc1..1878799fea1748db79d678b6be4b235299a19833 100644 (file)
@@ -756,8 +756,6 @@ gdk_event_get_state (const GdkEvent        *event,
        *state =  event->crossing.state;
         return TRUE;
       case GDK_PROPERTY_NOTIFY:
-       *state =  event->property.state;
-        return TRUE;
       case GDK_VISIBILITY_NOTIFY:
       case GDK_CLIENT_EVENT:
       case GDK_CONFIGURE: